//-----------------------------------------------------------------------
// <copyright file="GiftBase.cs" company="FetCo">
//     Copyright (c) FetCo. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ADESSA.Entities
{
	[Serializable]
	public class GiftBase
	{
		
		#region Variable Declarations
		public static string _Table = "Gift";
		private long				giftId = 0;
		private string				url = string.Empty;
		private string				title = string.Empty;
		private string				summary = string.Empty;
		private string				description = string.Empty;
		private DateTime				createdDate = new DateTime(1900,1,1,0,0,0,0);
		private DateTime				updatedDate = new DateTime(1900,1,1,0,0,0,0);
		private long				order = 0;
		private string				image = string.Empty;
		private string				thumbnailImage = string.Empty;
		private long				catId = 0;
		private int				viewed = 0;
		private int				statusId = 0;
		private int				marks = 0;
		private long				quantity = 0;
		#endregion
		
		#region Constructors
		public GiftBase() {}
		
		public GiftBase (
			long giftId,
			string url,
			string title,
			string summary,
			string description,
			DateTime createdDate,
			DateTime updatedDate,
			long order,
			string image,
			string thumbnailImage,
			long catId,
			int viewed,
			int statusId,
			int marks,
			long quantity)
		
		{
			this.giftId = giftId;
			this.url = url;
			this.title = title;
			this.summary = summary;
			this.description = description;
			this.createdDate = createdDate;
			this.updatedDate = updatedDate;
			this.order = order;
			this.image = image;
			this.thumbnailImage = thumbnailImage;
			this.catId = catId;
			this.viewed = viewed;
			this.statusId = statusId;
			this.marks = marks;
			this.quantity = quantity;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long GiftId
		{
			get { return giftId; }
			set { giftId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Url
		{
			get { return url; }
			set { url = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Title
		{
			get { return title; }
			set { title = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Summary
		{
			get { return summary; }
			set { summary = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Description
		{
			get { return description; }
			set { description = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime CreatedDate
		{
			get { return createdDate; }
			set { createdDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime UpdatedDate
		{
			get { return updatedDate; }
			set { updatedDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Order
		{
			get { return order; }
			set { order = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Image
		{
			get { return image; }
			set { image = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string ThumbnailImage
		{
			get { return thumbnailImage; }
			set { thumbnailImage = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long CatId
		{
			get { return catId; }
			set { catId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Viewed
		{
			get { return viewed; }
			set { viewed = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int StatusId
		{
			get { return statusId; }
			set { statusId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Marks
		{
			get { return marks; }
			set { marks = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Quantity
		{
			get { return quantity; }
			set { quantity = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum GiftColumns
	{
		GiftId,
		Url,
		Title,
		Summary,
		Description,
		CreatedDate,
		UpdatedDate,
		Order,
		Image,
		ThumbnailImage,
		CatId,
		Viewed,
		StatusId,
		Marks,
		Quantity
	}//End enum
}